/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package entities;

import java.util.ArrayList;
import java.util.Date;

/**
 *
 * @author VietLH
 */
public class BillingDetails {
    private int bID;
    private PatientDetails patientDetails;
    private Date bDate;
    private ArrayList<BillingTestDetail> billingTestDetail=new ArrayList<BillingTestDetail>();

    private float bAmount;

    public BillingDetails() {
    }

    public BillingDetails(int bID, PatientDetails patientDetails, Date bDate, ArrayList<BillingTestDetail> billingTestDetail, float bAmount) {
        this.bID = bID;
        this.patientDetails = patientDetails;
        this.bDate = bDate;
        this.billingTestDetail = billingTestDetail;
        this.bAmount = bAmount;
    }


    public float getbAmount() {
        return bAmount;
    }

    public void addBillingTestDetail(BillingTestDetail billingTestDetail){
        this.billingTestDetail.add(billingTestDetail);
    }
    public void setbAmount(float bAmount) {
        this.bAmount = bAmount;
    }

    public Date getbDate() {
        return bDate;
    }

    public void setbDate(Date bDate) {
        this.bDate = bDate;
    }

   

   

  

    

    public int getbID() {
        return bID;
    }

    public void setbID(int bID) {
        this.bID = bID;
    }

    public PatientDetails getPatientDetails() {
        return patientDetails;
    }

    public void setPatientDetails(PatientDetails patientDetails) {
        this.patientDetails = patientDetails;
    }

   

    public ArrayList<BillingTestDetail> getBillingTestDetail() {
        return billingTestDetail;
    }

    public void setBillingTestDetail(ArrayList<BillingTestDetail> billingTestDetail) {
        this.billingTestDetail = billingTestDetail;
    }

    
    
}
